﻿@model  NewRen.Models.ViewModel.vLogin
@{
    ViewBag.Title = "用户登录——牛人网";
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    <link href="~/Styles/newren.base.css" rel="stylesheet" />
    <link href="~/Styles/newren.css" rel="stylesheet" />
</head>
<body>
    <div class="container_10 top20">
        <div class="left">
            <img src="~/Images/logo.png" width="200" height="76">
        </div>
        <div class="right">
            <a href="/" style="padding:0 5px">首页</a>
            <a href="/Shared/Help">帮助</a>
        </div>
        <div class="clr"></div>

        <div class="top10">
            <div class="left">
                <img src="~/Images/logo.jpg" width="500" height="400">
            </div>
            <div class="right login-block">
                <div class="login-title"><h3>用户登陆</h3></div>
                @using (Html.BeginForm("Login", "User", FormMethod.Post, new { id = "frmLogin", @class = "login-main" }))
                {
                    @Html.AntiForgeryToken()
                    <input type="hidden" id="returnUrl" name="returnUrl" value="@ViewBag.returnUrl" />
                    <table class="table">
                        <tr class="row">
                            <td class="logintxt">
                                用户名
                            </td>
                            <td>
                                @Html.TextBoxFor(m => m.Username, new { @class = "textbox", @style = "width:220px;", @placeholder = "用户名" })
                            </td>
                        </tr>
                        <tr class="row">
                            <td class="logintxt">
                                密码
                            </td>
                            <td>
                                @Html.PasswordFor(x => x.Password, new { @class = "textbox", @style = "width:220px;", @placeholder = "密码" })
                            </td>
                        </tr>
                        <tr class="row">
                            <td class="logintxt">
                                用户类型
                            </td>
                            <td>
                                <select name="UserType" class="textbox w-1">
                                    <option value="User">牛人</option>
                                    <option value="UserGroup">牛棚</option>
                                    <option value="Business">商家</option>
                                </select>
                            </td>
                        </tr>
                    </table>
                    <p class="inline">记住我 @Html.EditorFor(model => model.RememberMe)  <a href="/User/Forgetpassword">忘记密码？</a> <a href="/Register">注册</a></p>
                    <p class="inline">
                        <input type="submit" value="登录" class="button loginbtn w-1" />
                    </p>
                    @Html.ValidationSummary(true)
                }
            </div>
            <div class="clr"></div>
        </div>
    </div>
    <div class="footer-container top30">
        <div class="footer top-line top30">
            <p>
                <span><a href="/">首页</a> </span>|
                <span><a href="/Shared/About" id="shared_about">关于我们</a> </span>|
                <span><a href="/Shared/Join" id="shared_join">加入我们</a> </span>|
                <span><a href="/Shared/Contact" id="shared_contact">联系我们</a> </span>|
                <span><a href="/Shared/Serviceterm" id="shared_serviceterm">服务条款</a> </span>|
                <span><a href="/Bbs/Index">论坛</a></span>
            </p>
        </div>
        <div class="wrapper">
            <div class="copyright">
                <p class="small">
                    Copyright © 2015 湖北牛人网络工程有限公司 All rights reserved. 鄂ICP备15014961号-1&nbsp;&nbsp;
                    <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cspan id='cnzz_stat_icon_1256053577'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/stat.php%3Fid%3D1256053577%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
                </p>
            </div>
        </div>
    </div>
</body>
</html>